package BigDemo;

public class Test {
    public static void main(String[] args) {
        Person p1=new Person("老李",45);
        Dog d=new Dog(1,"黑色");
        p1.KeepPet(d,"骨头");
        d.lookHome();
        Person p2=new Person("老王",50);
        Cat c=new Cat(2,"白色");
        p2.KeepPet(c,"小鱼干");
        c.CatchMouse();

    }
}
